func runtime.key32
11 uses
runtime (current package)
lock_futex.go#L17: func key32(p *uintptr) *uint32 {
lock_futex.go#L27: old := atomic.Xchg(key32(&n.key), 1)
lock_futex.go#L32: futexwakeup(key32(&n.key), 1)
lock_futex.go#L45: for atomic.Load(key32(&n.key)) == 0 {
lock_futex.go#L47: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L68: for atomic.Load(key32(&n.key)) == 0 {
lock_futex.go#L70: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L79: if atomic.Load(key32(&n.key)) != 0 {
lock_futex.go#L89: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L94: if atomic.Load(key32(&n.key)) != 0 {
lock_futex.go#L103: return atomic.Load(key32(&n.key)) != 0
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |